#include <stdio.h>

//https://www.nowcoder.com/practice/7b066963c4eb4d188becd18c37dfe22d?tpId=290&tags=&title=&difficulty=0&judgeStatus=0&rp=0&sourceUrl=%2Fexam%2Foj%2Fta%3Fpage%3D1%26tpId%3D290%26type%3D290

int main() {
    int num = 0;
    while(~scanf("%d", &num)) {
        for (int i = 0; i < num; i++) {
            for (int j = 0; j < i; j++) {
                printf(" ");
            }
            printf("*\n");
        }
    }
    return 0;
}